]> dgit.raspbian.org Git - gnome-shell.git/commit
extensions-tool/prefs: Log D-Bus errors
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 28 Oct 2021 17:55:23 +0000 (19:55 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 2 Nov 2021 14:39:08 +0000 (15:39 +0100)
commitfd60591bb3d1b5cf31e7ce735a52ced23d531fa1
treebbb6192559cea40508507cb96faffda6469c491a
parent1b5ff77d02e679c823e736ecf0edcfaa82cb361c
extensions-tool/prefs: Log D-Bus errors

We currently ignore any error that may occur when calling the
OpenExtensionPrefs D-Bus method. Right now such an error is highly
unlikely, given that we already checked that we are running under
gnome-shell and the extension in question exists and has prefs.

We'll soon make sure that only one dialog is shown at any time,
which is an error that we can realistically expect, so handle that
properly.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4564

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2013>
(cherry picked from commit 09ed1c533c2350b81e2c79f84998e8d3b4c1199a)
subprojects/extensions-tool/src/command-prefs.c